import Layout from "/@/layout/index.vue";
const staffRouter = {
  path: "/staff",
  name: "staff",
  component: Layout,
  redirect: "/staff/listStaff",
  meta: {
    icon: "el-icon-user",
    title: "message.hsstaff",
    showLink: true,
    savedPosition: false,
    rank: 2
  },
  children: [
    {
      path: "/staff/addStaff",
      name: "addStaff",
      component: () => import("../../views/staff/addStaff/index.vue"),
      meta: {
        title: "message.hsstaffadd",
        showLink: true,
        savedPosition: true
      }
    },
    {
      path: "/staff/listStaff",
      name: "listStaff",
      component: () => import("../../views/staff/listStaff/index.vue"),
      meta: {
        title: "message.hsstafflist",
        showLink: true,
        savedPosition: true
      }
    },
    {
      path: "/staff/addStaffList",
      name: "addStaffList",
      component: () => import("../../views/staff/addStaffList/index.vue"),
      meta: {
        title: "message.hsstaffaddlist",
        showLink: true,
        savedPosition: true
      }
    }
  ]
};
export default staffRouter;
